package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.ClassRoom;
import com.xmy.cultivate.mapper.ClassRoomMapper;
import com.xmy.cultivate.service.IClassRoomService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 教室 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
@Service
public class ClassRoomServiceImpl extends ServiceImpl<ClassRoomMapper, ClassRoom> implements IClassRoomService {


    @Autowired
    ClassRoomMapper classRoomMapper;

    @Override
    public List<ClassRoom> getGradeClassRoomList(Long schoolId, Integer yearPart, Integer quarterNum, Integer lessonType, Integer sourseLeve, Long adminId) {
        return classRoomMapper.getGradeClassRoomList(schoolId, yearPart, quarterNum,lessonType,sourseLeve,adminId);
    }
}
